import * as adm_zip from 'adm-zip';
import { Injectable } from '@nestjs/common';
import { resolve } from 'url';

@Injectable()
export class UnzipService {
    Unzip(path): void {
            const unzip = new adm_zip(path);
            unzip.extractAllTo('src/excels', /*overwrite*/true);
    }
}